<script setup>
import FooterCom from '@/components/FooterCom.vue'
</script>

<template>
  <div class="app-wrapper openSidebar">
    <div class="main-container">
      <header class="header-wrap"></header>
      <section class="app-main">
        <div class="app-main-container">
          <div class="app-container">
            <RouterView />
          </div>
        </div>
        <FooterCom></FooterCom>
      </section>
    </div>
    <!---->
  </div>
</template>

<style scoped>
.app-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}
.main-container {
  height: 100%;
}

.app-main {
  height: 100%;
  min-height: 760px;
  width: 100%;
  position: absolute;
  padding-bottom: 40px;
  box-sizing: border-box;
  display: flex;
}

.app-main .app-main-container {
  flex: 1;
}

.app-container {
  height: calc(100% + 40px);
  overflow: hidden;
}
</style>
